<#-- 分页 公共页(生成新引用页) -->
<#-- 引用前必须建立pageView对象-->

<#if pageView!=null && pageView.records?exists>  
<DIV class="pg">
	<span class="count">共${pageView.totalRecord}条</span>
	<#if pageView.currentPage != 1>
		<A class="prev" href="${pageView.onUrl}">上一页</A>
    </#if>  
	<#if (pageView.pageIndex.startIndex > 1)>
       <A class=last href="javascript:topage('1');" title="第1页">1 ...</A>
    </#if> 

	<#list pageView.pageIndex.startIndex..pageView.pageIndex.endIndex as index>
        <#if (index > 0)>  
        	<#if pageView.currentPage == index>
                <STRONG>${index}</STRONG>  
            <#else>  
                <A href="javascript:topage('${index}')" title="第${index}页">${index}</A>  
            </#if> 
        </#if>  
         
    </#list>
    <#if (pageView.pageIndex.endIndex < pageView.totalPage)>
       <A class=last href="javascript:topage('${pageView.totalPage}')" title="第${pageView.totalPage}页">... ${pageView.totalPage}</A>
    </#if> 
    
    <LABEL>
		<INPUT onkeydown="if(event.keyCode==13) {topage(this.value);}" class="pg_input" title="输入页码，按回车跳转" value="${pageView.currentPage}" size="2">
		<SPAN title="共${pageView.totalPage}页"> / ${pageView.totalPage}页</SPAN>
	</LABEL>
    <#if (pageView.pageIndex.endIndex >0 && pageView.currentPage != pageView.totalPage && pageView.records?size gt 0)>
    	<A class=nxt href="${pageView.nextUrl}">下一页</A>  
    </#if>  
</DIV>
</#if>